package com.it.tydic.estate.module.service;

import com.it.tydic.estate.common.aop.Result;
import com.it.tydic.estate.module.model.Vo.ReturnObjectVo;
import com.it.tydic.estate.module.model.inner.TbCustomerEvents;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: liuhui
 * @createDate: 2020/3/5
 * @version: 1.0
 */
public interface CustomerEventsService {
    /**
     * 条件查询
     * @param map
     * @return
     */
    Result selectListEvents(Map<String,Object>map);
    /**
     * id查询
     * @param uid
     * @return
     */
    Result getById(String uid);
    /**
     * 添加修改数据
     * @param tbCustomerEvents
     * @return
     */
    Result addEvents(TbCustomerEvents tbCustomerEvents);

    /**
     * 批量删除
     * @param list
     * @return
     */
    Result delEvents(List<String> list);
    /**
     * 批量删除
     * @param codeId
     * @return
     */
   Result getType(String codeId);

    /**
     * 联级查询
     * @param map
     * @return
     */
    Result selectCascade(Map<String,String>map);
}
